import java.util.Scanner;

//public class Main {
//    public static void main(String[] args) {
//        //System.out.println("姓名：李发富  学号：2023020214  专业：计算机科学与技术  爱好：听歌");
//        Scanner sc = new Scanner(System.in);
//        System.out.println("请输入m和n的值：");
//        double m = sc.nextDouble();
//        int n = sc.nextInt();
//        double array[] = new double[n];
//        Scanner reader = new Scanner(System.in);
//        double sum = m;
//        for (int i = 0; i < n; i++) {
//            array[i] = Math.sqrt(m);
//            m = array[i];
//        }
//        for (int i = 0; i < n - 1; i++) {
//            sum += array[i];
//        }
//        System.out.println("运行结果" + sum);
//    }
//}

//import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
        double r;
        Scanner sc = new Scanner(System.in);
        r = sc.nextDouble();
        if (r < 0){
            System.out.println("Radius must be positive");
        }
        else {
            circle circle1 = new circle(r);
            System.out.printf( "%.2f,%.2f\n",circle1.getLength(),circle1.getArea());
        }
    }
  }